#include "dish.h"

dish::dish():price(0) {}

dish::dish(int _no,const QString &_name,const QString &_type,
	   const QString &_feature,const QString &_mix,
	   const QString &_picname,float _price)
	:no(_no),name(_name),type(_type),feature(_feature),
	mix(_mix),picname(_picname),price(_price) {}

dish::dish(dish& adish)
	:no(adish.no),name(adish.name),type(adish.type),feature(adish.feature),
	mix(adish.mix),picname(adish.picname),price(adish.price) {}

int dish::getNo()
{
	return this->no;
}

QString dish::getName()
{
	return this->name;
}

QString dish::getType()
{
	return this->type;
}

QString dish::getFeature()
{
	return this->feature;
}

QString dish::getMix()
{
	return this->mix;
}

QString dish::getPicname()
{
	return this->picname;
}

float dish::getPrice()
{
	return this->price;
}

void dish::setNo(int _no)
{
	this->no = _no;
}

void dish::setName(QString _name)
{
	this->name = _name;
}

void dish::setType(QString _type)
{
	this->type = _type;
}

void dish::setFeature(QString _feature)
{
	this->feature = _feature;
}

void dish::setMix(QString _mix)
{
	this->mix = _mix;
}

void dish::setPicname(QString _picname)
{
	this->picname = _picname;
}

void dish::setPrice(float _price)
{
	this->price = _price;
}	
